package com.inews.business.school.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inews.base.school.repository.CommonDao;
import com.inews.base.school.repository.ScoreDao;
import com.inews.business.entity.Score;

@Service
public class ScoreServiceImpl extends DefaultCommonService<Long, Score> implements ScoreService {
	@Autowired
	private ScoreDao scoreDao;


	@Override
	public List<Score> getScoreBySchoolId(Long sid) {
		return scoreDao.getScoreBySchoolId(sid);
	}

	@Override
	protected CommonDao<Long, Score> getDao() {
		return scoreDao;
	}
}
